cast anonymous object to class c. There are any references about cast anonymous object to class c in here. you can look below.